package org.groupg.project.a;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

//3. 技能接口 - Skill.java
@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.PROPERTY,
    property = "type"
)
@JsonSubTypes({
    @JsonSubTypes.Type(value = TechnicalSkill.class, name = "technical"),
    @JsonSubTypes.Type(value = ManagementSkill.class, name = "management")
})
public interface Skill {}